//
//  SDDetectionDataModel.m
//  skinDetection
//
//  Created by  liangzhun on 2018/11/2.
//  Copyright © 2018年  liangzhun. All rights reserved.
//

#import "SDDetectionDataModel.h"

@implementation SDDetectionDataModel

+ (instancetype)shareInstance
{
    static SDDetectionDataModel *model;
    static dispatch_once_t onceToken;
    dispatch_once(&onceToken, ^{
        
        model = [[SDDetectionDataModel alloc] init];
        [model clearData];
        
    });
    
    return model;
    
}
- (void)clearData
{
    self.type = 1;
    self.userModel = nil;
    self.isDetectionArray = [NSMutableArray arrayWithObjects:[NSNumber numberWithBool:NO],[NSNumber numberWithBool:NO],[NSNumber numberWithBool:NO],[NSNumber numberWithBool:NO],[NSNumber numberWithBool:NO], nil];
    self.detectionReportDic = [NSMutableDictionary dictionaryWithCapacity:0];
    self.detectionImageDic = [NSMutableDictionary dictionaryWithCapacity:0];
    
}
@end
